﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Sunboxsoft.ASMS.Server.Domain.Entity
{
    /// <summary>
    /// 服务项目的保有,可以设置自己的价格
    /// </summary>
    public class EServiceItemRetain
    {
        /// <summary>
        /// 数据标识
        /// </summary>
        public Guid Id { get; set; }

        /// <summary>
        /// 服务项目Id
        /// </summary>
        public Guid ServiceItemId { get; set; }

        /// <summary>
        /// 商家Id
        /// </summary>
        public Guid BusinessId { get; set; }

        /// <summary>
        /// 店铺Id
        /// </summary>
        public Guid? StationId { get; set; }

        public decimal Price { get; set; }

        /// <summary>
        /// 折扣
        /// </summary>
        public decimal Discount { get; set; }

        /// <summary>
        /// 税率
        /// </summary>
        public decimal TaxRate { get; set; }

        /// <summary>
        /// 销售提成
        /// </summary>
        public decimal SalesCommission { get; set; }

        /// <summary>
        /// 销售提成类型
        /// </summary>
        public int SalesCommissionType { get; set; }

        /// <summary>
        /// 技师提成
        /// </summary>
        public decimal TechnicianCommission { get; set; }

        /// <summary>
        /// 技师提成类型
        /// </summary>
        public int TechnicianCommissionType { get; set; }

        public int Status { get; set; }

        public DateTime CreatedTime { get; set; }

        public string Creator { get; set; }
    }
}
